﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PowerManage.aspx.cs" Inherits="Admin_PowerManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        body
        {
	         margin: 0px 0px 0px 0px;
	         text-align:left;
	         font-size: 9pt;
	         font-family: 宋体;
        }
        td
        {
	         font-size:9pt;
	         font-family:宋体;
	         text-align:left;
	         height:20px;
        }
        tr
        {
	        font-size:9pt;
	        font-family:宋体;
	        height:20px;
        }
        table
        {
	         border-width: 0px;
	         margin:0px 0px 0px 0px;
        }
    </style>
</head>
<body style="width:95%">
    <form id="form1" runat="server">
    <table>
        <tr><td colspan="2"> <div><asp:Label ID="lblRoleName" runat="server" Text="尚未选择任何角色"></asp:Label>
        <asp:Label ID="lblRoleId" runat="server" Text="" Visible="False"></asp:Label></div></td></tr>
        <tr><td>
            <asp:Button ID="btnSure" runat="server" Text="确定分配" Width="80px" 
                onclick="btnSure_Click" />
            </td><td>
                <asp:Button ID="btnCancel" runat="server" Text="取&nbsp;&nbsp;消" 
                    Width="80px" onclick="btnCancel_Click" />
            </td></tr>
        <tr>
            <td colspan="2">    
                <div>
                    <asp:TreeView ID="treeMenuPower" runat="server" ShowCheckBoxes="All" ExpandDepth="1"
                        OnTreeNodeCheckChanged="treeMenuPower_TreeNodeCheckChanged" ShowLines="True">
                    </asp:TreeView>
                </div>
            </td>
        </tr>
    </table>
   
    <div></div>

    </form>
</body>
</html>

<script type="text/jscript" language="javascript">
    function postBackByObject()
    {
        var o = window.event.srcElement;
        if (o.tagName == "INPUT" && o.type == "checkbox")
        {
          __doPostBack("","");
        } 
    } 
</script>

